package com.atguigu.jxc.service;

import com.atguigu.jxc.entity.SaleList;

import java.util.List;
import java.util.Map;

public interface SaleService {

    void saveSaleList(SaleList saleList, String saleListGoodsStr);

    Map<String, Object> getSaleList(String saleNumber, Integer customerId, Integer state, String sTime, String eTime);

    Map<Object, Object> getSaleListGoods(Integer saleListId);

    void SaleDelete(Integer saleListId);

    void updateState(Integer saleListId);

    List<SaleList> getSaleCount(String sTime, String eTime, Integer goodsTypeId, String codeOrName);

    List<Map<String, Object>> getSaleDataByDay(String sTime, String eTime);

    List<Map<String, Object>> getSaleDataByMonth(String sTime, String eTime);
}
